﻿using System.Collections;
using CSharpPro._1027;

namespace CSharpPro._1103;

public class Demo
{
    public void TestPrint()
    {
        ArrayList arrayList = new ArrayList();
        arrayList.Add(1);
        arrayList.Add("AAA");
        foreach (object o in arrayList)
        {
            Console.WriteLine(o+"\t");
        }
        List<int> list = new List<int>();
        list.Add(1);
        
        Stack<int> stack = new Stack<int>();
        Stack<User> stack2 = new Stack<User>();
    }
}